package org.rcy.ruicingmarket;

import org.rcy.ruicingmarket.common.utils.IdWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author RuicyWu
 * @Description
 * @date 2022/1/7 9:29
 */

@SpringBootApplication(scanBasePackages = {"org.rcy.ruicingmarket.*","org.rcy.framework.transaction.*"})
public class OrderApplication {
    @Bean
    public IdWorker idWorker(){return new IdWorker();}
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }
}
